{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="row[id]" value="{$data.id}">

    <div class="layui-form-item">
        <label class="layui-form-label">店铺名</label>
        <div class="layui-input-block">
            <input type="text" name="shop_name" value="{$data.shop_name}"   readonly="readonly" autocomplete="off" placeholder="店铺名"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系人</label>
        <div class="layui-input-block">
            <input type="text" name="people" value="{$data.people}"  readonly="readonly" autocomplete="off" placeholder="联系人"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-block">
            <input type="text" name="phone" value="{$data.phone}"  readonly="readonly" autocomplete="off" placeholder="联系电话"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">店铺地址</label>
        <div class="layui-input-block">
            <input type="text" name="address" value="{$data.address}"  readonly="readonly" autocomplete="off" placeholder="店铺地址"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">营业时间</label>
        <div class="layui-input-block">
            <input type="text" name="city" value="{$data.start_time}--{$data.end_time}"  readonly="readonly" autocomplete="off" placeholder="营业时间"
                   class="layui-input">
        </div>
    </div>

</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm','form'], function () {
        var yznForm = layui.yznForm;
        var form = layui.form;
        var $ = layui.jquery;
        yznForm.bindevent($("form.layui-form"));
    });

</script>
{/block}